<?php

namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use EloquentFilter\Filterable;
use App\Models\Traits\Admin\ActionButtonTrait;
use Illuminate\Support\Facades\Storage;

class User extends Model
{
    //
    use Filterable, ActionButtonTrait;

    protected $append = ['actionButton'];
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $actions = ['edit','delete'];
    protected $actionUri = 'user';

    protected $fillable = [
        'username', 'phone', 'open_id','email','avatar','last_ip'
    ];
    //
}
